﻿import { post, put, get, del } from "@/utils/hettpUtils/httpRequest";

export const projectinstanceColumns = [
  {
    title: "所属站点",
    dataIndex: "tenantName",
  },
  {
    title: "项目名称",
    dataIndex: "name",
  },
  {
    title: "智能体ID",
    dataIndex: "botId",
  },
  {
    title: "体验价格",
    dataIndex: "experiencePrice",
    align: "center",
  },
  {
    title: "月卡价格",
    dataIndex: "monthlyCardPrice",
    align: "center",
  },

  {
    title: "单次价格",
    dataIndex: "singlePrice",
    align: "center",
  },
  {
    title: "创建时间",
    dataIndex: "createTime",
    align: "center",
  },
  {
    title: "创建人",
    dataIndex: "createUser",
  },
  {
    title: "描述",
    dataIndex: "description",
  }
];

export const addProjectinstance = (parameter) =>
  post("api/projectinstance/add", parameter);
export const queryProjectinstanceList = (parameter) =>
  get("api/projectinstance/list", parameter);
export const queryProjectinstancePage = (parameter) =>
  post("api/projectinstance/pages", parameter);
